<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{/common/header::header-head}">
</head>
<body>

<div th:replace="~{/common/header::header-body}"></div>
<table class="table">
    <thead>
    <tr>
        <th scope="col">序号</th>
        <th scope="col">用户名</th>
        <th scope="col">邮箱</th>
        <th scope="col">创建时间</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="user:${users}">
        <th scope="row" th:text="${user.getId()}">1</th>
        <td th:text="${user.getUsername()}">Mark</td>
        <td th:text="${user.getEmail()}">Otto</td>
        <td th:text="${user.getDate()}">@mdo</td>
        <td>
            <button class="btn btn-danger" th:onclick="" type="button">删除</button>
        </td>
    </tr>

    </tbody>
</table>
</body>
<script>

</script>
</html>